package com.googlecode.mailnet.math.distribution;

/**
 * @author Iskander Akishev
 */
public class Test {

    public static void main(String[] args) {
        String str = "G(1,1)-E(1)";
        Distribution distribution;
        try {
            distribution = DistributionParser.create(str);
        } catch (DistributionFormatException e) {
            e.printStackTrace();
            return;
        }
        final int n = 1000;
        for (int i = 0; i < n; i++) {
            System.out.println(distribution.getValue());
        }
    }

}
